<template>
  <text :class="['iconfont',name]" :style="{fontSize:size+'px',color:color}" />
</template>

<script>
export default {
  name: 'Icon',
  props: {
    name: {
      type: String,
      default: () => ''
    },
    size: {
      type: [String, Number],
      default: () => 14
    },
    color: {
      type: String,
      default: () => ''
    }
  },
  data() {
    return {
				
    }
  }
}
</script>

<style>
</style>
